package game.action.actions.monitor;

import game.action.BaseAction;

import java.io.IOException;

import org.apache.log4j.Logger;

public class KillUserAction extends BaseAction {
	private static final Logger log = Logger.getLogger(KillUserAction.class);
	private String id;
	private String type;
	
	@Override
	public void execute() {
		/*
		try {
			gt.getSocket().close();
		} catch (IOException e) {
			log.error("异常",e);
		}
		this.getGameThread().send("killUserAction?message=success&type="+type);
		*/
	}

	@Override
	public String initParams() {
		this.id = params.get("id").toString();
		this.type = params.get("type").toString();
		return null;
	}

	@Override
	public boolean validate() {
		
		return false;
	}

}
